<!DOCTYPE html>
<html lang="en">
<head>
    <title>佳怡供应链金融</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">
    <link rel="stylesheet" href="lib/weui.min.css">
    <link rel="stylesheet" href="css/jquery-weui.css">
    <link rel="stylesheet" href="demos/css/demos.css">
    <link rel="stylesheet" href="font/fontscss/iconfont.css">
    <link rel="stylesheet" href="css/common.css">

    <style type="text/css">
        .content-header {
            width: 100%;
            background-color: #FF9461;
            position: relative;
            z-index: 10;
            color: #fff;
        }

        #pro_name {
            font-size: 16px;
            padding-top: 0.7rem;
            padding-left: 15%;
        }

        #one_pri {
            font-size: 32px;
        }

        .ljsy {
            pont-size: 12px;
            opacity: 0.6;
        }

        .tzze {
            padding-top: 1.5rem;
            font-size: 16px;
        }

        .time {
            text-align: center;
        }

        .time-left {
            width: 50%;
            display: inline-block;
            line-height: 1.5rem;
        }

        .span1 {
            font-size: 14px;
        }

        .span2 {
            font-size: 12px;
            opacity: 0.6;
        }

        .time-left span {
            display: block;
        }

        .time-right {
            width: 48%;
            float: left;
            line-height: 1.5rem;
        }

        .time-right span {
            display: block;
        }

        .content-info ul li {
            height: 3rem;
            line-height: 3rem;
            border-bottom: 1px solid #E6E2E2;
            font-size: 16px;
        }

        .content-info ul li span {
            color: #FF9461
        }

        .content-info .content-orl {
            width: 10%;
            display: inline-block;
        }

        .content-info .content-title {
            width: 59%;
            display: inline-block;
        }

        .content-info .content-info {
            width: 18%;
            display: inline-block;
        }

        .content-info .content-orl {
            background-image: url("demos/images/rol.png");
        }
        .comment{
            border: 1px solid #ABA1A1;
            border-radius: 1rem;
            width: 64%;
            position: relative;
            left: 5rem;
            margin-top: 1rem;
            margin-bottom: 1rem;
        }
        .tbtop{
            padding-left: 1rem;
            color:#FF9461;
        }
        .tbtop span{
            display: block;
        }
        .pz{
            margin-left: 1rem;
        }
        .icon_back{
            position: absolute;
            left: -1rem;
            top: 0.9rem;
            width: 0.5rem;
            height: 1.0rem;
            background: url(./images/icon-back.png);
            background-size: 0.5rem 1em;
            vertical-align: middle;
        }
    </style>
    <script src="lib/jquery-2.1.4.js"></script>

</head>

<body>
<header>
    <div class="weui-row weui-no-gutter">
        <div class="weui-col-33" id="back_icon">
            <a href="javascript:history.go(-1)" class="icon pull-right"><i class="icon_back"></i></a>
        </div>
        <div class="weui-col-33">我的审批详细</div>
        <div class="weui-col-33" id="ligin_icon">
            <!-- <a href="login.html" class="icon pull-right"><i class="iconfont icon-wode"></i></a> -->
        </div>
    </div>
</header>
<div class="weui-cells">


    <!-- <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>项目名称</p>
         </div>
         <div class="weui-cell__ft">
             12312321
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>合同编号</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>审批状态</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>申请日期</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>资金使用起始时间</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>资金使用结束时间</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>使用部门</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>使用部门</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>使用中心</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>使用项目部</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>申请人</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>申请金额</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>综合融资成本率</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>融资用途</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>预计还款时间1</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>预计还款金额1</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>预计还款时间2</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>预计还款金额2</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>乙方开户行</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>乙方账户名</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>
     <div class="weui-cell">
         <div class="weui-cell__bd">
             <p>乙方账号</p>
         </div>
         <div class="weui-cell__ft">
         </div>
     </div>-->
</div>

</body>
<script src="js/circleProgress.js"></script>
<script src="js/jquery-weui.js"></script>
<script src="js/reg.js"></script>
<script type="text/javascript">
    $(function () {
        var str = "";
        var id = localStorage.getItem("sp_id");
        $.ajax({
            type: "POST",
            url: "ccc/getsingGuiJi",
            data: {id: id},   //传递输入框中的值
            success: function (val) {
                var msg=val;

                console.log(msg);
                str+="<div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>项目名称</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.project_namegd2+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>合同编号</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.bh+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>审批状态</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.statuss+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>申请日期</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.apply_time+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>资金使用起始时间</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.start_time+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>资金使用结束时间</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.end_time+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>使用部门</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.deptnames+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>使用中心</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    isNull(msg.centername)+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>使用项目部</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    isNull(msg.projectDeptname)+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>申请人</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.username+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>申请金额</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.apply_money+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>综合融资成本率</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.rate*100+"%"+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>融资用途</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.purpose+
                    "        </div>"+
                    "    </div>";
                   /* "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>预计还款时间1</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yjrepayment_time1+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>预计还款金额1</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yjrepayment_money1+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>预计还款时间2</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yjrepayment_time2+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>预计还款金额2</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yjrepayment_money2+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>乙方开户行</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yopen_bank+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>乙方账户名</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yaccount_name+
                    "        </div>"+
                    "    </div>"+
                    "    <div class=\"weui-cell\">"+
                    "        <div class=\"weui-cell__bd\">"+
                    "            <p>乙方账号</p>"+
                    "        </div>"+
                    "        <div class=\"weui-cell__ft\">"+
                    msg.yaccount_number+
                    "        </div>"+
                    "    </div>";*/
                $(".weui-cells").append(str);
                var commons="";
                commons+="<div>"
                commons+="<div class=\"pz\">审核意见：</div>"
                commons+="<div class=\"comment\">"
                commons+="    <div class=\"tbtop\">"
                commons+="   <span>我的批注："+msg.comment+"</span>"
                commons+="</div>"
                commons+=" </div>"

                commons+="</div>";
                $(".weui-cells").append(commons);
            }
        });
    });
    function isNull(str) {
        if (str == null || str == "" || str == "undefined") {
            return '';
        } else {
            return str;
        }
    }
</script>
<script src="js/web/checkLogin.js"></script>
</html>